a {
    text-decoration: none;
    color: black;
}

p {
    margin: 0;
    padding: 0;
}

body {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}


/* 前往后台按钮 */

.btn-info {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    top: 50%;
    right: 20px;
    opacity: 0.5;
}

.btn-info:hover {
    opacity: 1;
}


/* 登录弹窗提示文字 */

#emailHelp {
    color: darkgray;
    font-size: 10px;
    opacity: 0.5;
}


/* 导航条的文字 */

.navbar-expand-lg {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    width: 100%;
}

body {
    background: url(../img/bg3.jpg) no-repeat;
}


/* 输入框的间距 */

.form-inline {
    margin: 30px;
}


/* 登录注册按钮的间距 */

.btn-outline-primary {
    margin-right: 10px;
}


/* 欢迎部分 */

.logo {
    width: 600px;
    height: 40px;
    color: white;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    user-select: none;
    border-radius: 5px;
    background: -webkit-linear-gradient(-45deg, red, blue);
    background-size: 500%;
    animation: bgc 3s infinite linear alternate;
    transition: all 0.4s;
}


/* 导航栏中央动画 */

@keyframes bgc {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 50% 100%;
    }
    100% {
        background-position: 50% 0;
    }
}


/* 轮播图容器的居中 */

.container {
    margin: 30px auto;
}


/* 轮播图的圆角边框和阴影 */

#carouselExampleIndicators {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 6px 20px 10px rgba(0, 0, 0, 0.3);
}


/* 轮播图透明度设置 */

.carousel {
    opacity: 0.8;
}


/* 新闻栏 */

.news-container {
    border-bottom: 1px dashed darkgray;
    text-align: center;
    margin: 0;
    margin-top: 43px;
    padding: 10px 250px;
    background: url(../img/time2.jpg) no-repeat 0 133px;
    animation: bg2 10s linear infinite;
}

@keyframes bg2 {
    0% {
        background-position: 0 354px;
    }
    100% {
        background-position: 0 -217px;
    }
}


/* 新闻Tab选项卡 */

.mb-3 .nav-item {
    width: 16%;
}

.mb-3 {
    padding-bottom: 5px;
    border-bottom: 1px dashed #999;
}


/* 选项卡下的内容 */

.tab-pane {
    padding: 0 20px;
    text-align: left;
    color: #495057;
}

.tab-pane a {
    font-size: 20px;
    color: #495057;
}

.list-group-flush .list-group-item {
    margin-bottom: 0;
}

.tab-pane .row .col-sm-7 {
    border-right: 1px dashed darkgrey;
}


/* 国内选项卡下的内容 */

.row .col-sm-5 img {
    width: 100%;
}

.row .col-sm-5 .title {
    margin-top: 10px;
    margin-bottom: 50px;
}

.character p {
    font-size: 13px;
}


/* 新闻卡片 */

.list-group-item {
    margin-bottom: 30px;
}


/* 底部内容 */

footer {
    height: 80px;
    background-color: #343A40;
    color: dimgray;
    font-size: 13px;
    text-align: center;
    line-height: 40px;
}